package com.jccfc.domain.sms;

import java.io.Serializable;
import java.util.Arrays;
import java.util.List;

public class SmsReqBodyEntity implements Serializable {

    //请求同的参数
    private SmsReqHeaderEntity smsReqHeader;
    //短信内容
    private List<SmsReqSmsBodyEntity> body;

    public SmsReqBodyEntity(SmsReqHeaderEntity smsReqHeaderEntity, List<SmsReqSmsBodyEntity> body) {
        this.smsReqHeader = smsReqHeaderEntity;
        this.body = body;

    }

    public void setSmsReqHeader(SmsReqHeaderEntity smsReqHeader) {
        this.smsReqHeader = smsReqHeader;
    }

    public void setBody(List<SmsReqSmsBodyEntity> body) {
        this.body = body;
    }

    public SmsReqHeaderEntity getSmsReqHeader() {
        return smsReqHeader;
    }

    public List<SmsReqSmsBodyEntity> getBody() {
        return body;
    }

    @Override
    public String toString() {
        return "SmsReqBodyEntity{" +
                "smsReqHeader=" + smsReqHeader.toString() +
                ", body=" + Arrays.toString(body.toArray()) +
                '}';
    }

}
